<?php
$jquery_config_file = dirname(__FILE__)."/config";

if(file_exists($jquery_config_file)) {
    $jquery_config = unserialize(file_get_contents($jquery_config_file));
}

if($jquery_config['aof']) {
    $t = glob(dirname(__FILE__)."/*.js");
    foreach($t as $i) {
        $html_head_code_lib[] = '<script type="text/javascript" src="'.__ADMIN_URL__.substr($i, strlen(__ADMIN_DIR__)).'"></script>';
    }
    $html_head_code_lib[] = '<link href="'.__ADMIN_URL__.'/modules/jQuery/css/redmond/jquery-ui.css'.'" type="text/css" rel="stylesheet" media="all" />';
}
?>